#include "../Lexer.h"
using namespace compiler;
namespace compiler_test{
void lexer_test(){
	string file;
	
	cin>>file;
	Lexer L(file.c_str());
	string st;
	string *ss;
	while(true){
		ss=L.scan();
		if(ss==NULL)
			break;
		log->info(ss->c_str());
		log->info("\n");
	}
	log->wait();
}
}